package cn.mickey.exchange.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author mickey
 */
@ConfigurationProperties(prefix = "local.upload")
public class LocalUploadProperties {

    /**
     *是否开启本地存储
     */
    private Boolean enabledLocal;
    private String baseUrl;
    private String userFilePath;

    public Boolean isEnabledLocal() {
        return enabledLocal;
    }

    public void setEnabledLocal(Boolean enabledLocal) {
        this.enabledLocal = enabledLocal;
    }
    public String getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    public String getUserFilePath() {
        return userFilePath;
    }

    public void setUserFilePath(String userFilePath) {
        this.userFilePath = userFilePath;
    }
}
